package com.gitee.minimalismstyle.fresh.common.api.fallback

import com.gitee.minimalismstyle.fresh.common.api.SysApi
import com.gitee.minimalismstyle.fresh.common.core.domain.R
import com.gitee.minimalismstyle.fresh.common.core.domain.Resource


class SysApiFallback : SysApi {
    override fun getResourceByServiceId(serviceId: String): R<List<Resource>> {
        return R.error("服务器连接异常", listOf())
    }
}